//
//  MKUIElementListViewCellButton+Test.m
//  MKUITestApp
//
//  Created by 苏尚进 on 2023/11/17.
//  Copyright © 2023 moon. All rights reserved.
//

#import "MKUIElementListViewCellButton+Test.h"

@implementation MKUIElementListViewCellButton (Test)
+ (MKUIElementListViewCellButton *)testButtonElementWithTitle:(NSString *)title buttonStyle:(MKUIElementViewButtonStyle)buttonStyle whenClick:(void(^)(MKUIElementListViewCellButton *el))block{
    MKUIElementListViewCellButton *el = [[MKUIElementListViewCellButton alloc] init];
    el.elementView.titleText = title;
    el.elementView.buttonStyle = buttonStyle;
    el.whenClick = block;
    return el;
}
@end
